NodeBox

Create visual output with Python programming code
Home Download Reference Tutorial Library Gallery About

Reference | fontsize()


Syntax
fontsize(fontsize)

DescriptionSets the current font size. All text() commands following the fontsize() command will be drawn in this font size. Font size is measured in units of points.
Returnsthe current font size


Example
font("Helvetica")
fontsize(18)
text("Ni!", 10, 10)